package utils

func RemoveDuplicatesInt64(slice []int64) []int64 {
	uniqueMap := make(map[int64]bool)
	var result []int64

	for _, val := range slice {
		if _, exists := uniqueMap[val]; !exists {
			uniqueMap[val] = true
			result = append(result, val)
		}
	}

	return result
}
